package com.ruoyi.quartz.task;

import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.quartz.service.IModelFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.logging.Logger;

/**
 * 删除训练文件
 */
@Component("modelTrainTask")
public class ModelTrainTask {
    @Autowired
    IModelFileService iModelFileService;

    public void clearFileCache() {
        iModelFileService.clearFileCache();
    }
}
